package com.mark.springboot.entity;

import com.mark.springboot.common.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @Author: MARK
 * @Date: 2019/8/20 18:33
 * @Version: 1.0.0
 * @Description:
 */
@Data
@Table(name = "goods_category")
public class Category extends BaseEntity {
    @Column(name = "category_name")
    private String categoryName;
    @Column(name = "parent_id")
    private Integer pid;
    private Integer level;
}
